import type { TableHeader , operationInstance } from "@/components/dzs-table/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "用户名",
        key: "username",
    },
    {
        label: "头像",
        key: "usericon",
        isSlot: true,
    },
    {
        label: "简介",
        key: "brief",
    },
    {
        label: "工作年限",
        key: "work_years",
    },
    {
        label: "电话",
        key: "tel",
    },
    {
        label: "邮箱",
        key: "email",
    },
    {
        label: "地址",
        key: "address",
    },

    {
        label: "是否展示",
        key: "is_show",
        isSlot: true,
    },
    {
        label: "更新时间",
        key: "updatetime",
    },
    {
        label: "添加时间",
        key: "addtime",
    },
    {
        label: "创建人",
        key: "createByUser",
    },
];

export const operation : Array<operationInstance> = ['edit','delete','delete'];
